﻿Public Class funcionario_reciboVO


    Private _id_funcionario As Integer
    Private _nome As String
    Private _documento As String
    Private _secao As secaoVO
    Private _status As Boolean
    Private _criacao As DateTime

    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()
        _id_funcionario = Nothing
        _nome = Nothing
        _documento = Nothing
        _secao = Nothing
        _status = Nothing
        _criacao = Nothing
    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_funcionario As Integer, _
            ByVal nome As String, _
            ByVal documento As String, _
            ByVal secao As secaoVO, _
            ByVal status As Boolean, _
            ByVal criacao As DateTime)

        _id_funcionario = id_funcionario
        _nome = nome
        _documento = documento
        _secao = secao
        _status = status
        _criacao = criacao


    End Sub

    Public Property ID_FUNCIONARIO() As Integer
        Get

            Return _id_funcionario

        End Get
        Set(ByVal value As Integer)

            _id_funcionario = value

        End Set
    End Property

    Public Property NOME() As String
        Get

            Return _nome

        End Get
        Set(ByVal value As String)

            _nome = value

        End Set
    End Property

    Public Property DOCUMENTO() As String
        Get

            Return _documento

        End Get
        Set(ByVal value As String)

            _documento = value

        End Set
    End Property

    Public Property SECAO() As secaoVO
        Get

            Return _secao

        End Get
        Set(ByVal value As secaoVO)

            _secao = value

        End Set
    End Property

    Public Property STATUS() As Boolean
        Get

            Return _status

        End Get
        Set(ByVal value As Boolean)

            _status = value

        End Set
    End Property

    Public Property CRIACAO() As DateTime
        Get
            Return _criacao
        End Get
        Set(ByVal value As DateTime)

            _criacao = value

        End Set
    End Property

End Class
